package guowei.guliproduct.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import guowei.common.utils.PageUtils;
import guowei.guliproduct.product.entity.SkuInfoEntity;
import guowei.guliproduct.product.vo.SkuItemVo;

import java.math.BigDecimal;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author guoguo
 * @email 1573746397@qq.com
 * @date 2023-05-21 17:38:07
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByKeys(Map<String, Object> params);

    SkuItemVo itemInfo(Long skuId) throws ExecutionException, InterruptedException;

    BigDecimal getPriceBuSkuId(Long skuId);
}

